<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<% String path = request.getContextPath()+"/"; %>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<base href="<%=path%>">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>首页</title>

    <!-- Bootstrap Core CSS -->
    <link href="statics/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="statics/css/sb-admin-2.css" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="statics/Font-Awesome-4.3.0/css/font-awesome.min.css"/>
	<link href="statics/css/waitMe.min.css" rel="stylesheet">

</head>

<body class="waitMe_body" style="background:url(statics/img/14896.jpg) no-repeat center top;">
<div class="waitMe_container img" style="background:#fff">
    <div style="background:url('statics/img/loading.gif')"></div>
</div>

    <div class="container" >
        <div class="row">
            <div class="col-md-4 col-md-offset-4" >
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">保存字典表</h3>
                    </div>
                    <div class="panel-body">
                        <form:form commandName="key" id="add_form" role="form" action="dic/save" method="post">
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" placeholder="请输入字典键值" name="keyName" type="text"  />
                                    <form:errors path="keyName"></form:errors>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="请输入字典value值" name="keyValue" type="text" value="" />
                                 	<form:errors path="keyValue"></form:errors> 
                                </div>
                                <div class="form-group">
                               		<input class="form-control" placeholder="所属类型" name="typeName" type="text" />
                               		<form:errors path="typeName"></form:errors>
                                </div>
                                <div class="form-group">
                               		<input class="form-control" placeholder="请输入排序号" name="orderNum" type="number" min=0 />
                               		<form:errors path="orderNum"></form:errors>
                                </div>
                                <input class="btn btn-lg btn-success btn-block" type="submit" value="保存">
                            </fieldset>
                        </form:form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- jQuery -->
   <script src="statics/js/jquery-2.1.4.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="statics/js/bootstrap.min.js"></script>

   <script src="statics/js/waitMe.min.js"></script>
</body>

</html>
